package arquitetura.model;

import java.util.Collection;

import to.Fornecedor;
import exceptions.*;

public interface ModelFornecedor {	
	public void incluir(Fornecedor fornecedor) throws ConexaoException, ModelException;
	public void alterar(Fornecedor fornecedor)throws ConexaoException, ModelException;
	public void excluir(int codigo) throws ConexaoException, ModelException;
	public Fornecedor consultar(int codigo) throws ConexaoException, ModelException;
	public Collection<String []> listarParaGrid(String parteDoNome) throws ConexaoException, ModelException;
	public boolean cnpjJahCadastrado(Fornecedor fornecedor) throws ConexaoException, ModelException;
	public boolean podeExcluirFornecedor(int codigo) throws ConexaoException, ModelException;
}

